﻿#region Using Directives

using System.IO;

#endregion Using Directives


namespace Kongo
{
    public abstract class Tag : Node
    {
        #region Methods

        public override void Render(Context context, TextWriter output)
        {
            // The default rendering behavior for tags is nothing
        }

        public virtual bool SupportsChildNodes
        {
            get { return false; }
        }

        #endregion Methods


        #region Properties

        public virtual bool ChildNode(Node node)
        {
            return false;
        }

        #endregion Properties
    }
}
